﻿<%@ Page Title="Car Enquiry" Language="C#" 
MasterPageFile="~/Views/Shared/Site.Master" 
Inherits="System.Web.Mvc.ViewPage<CarBooker.Models.BookingRequest>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Cars
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<h2>Cars</h2>
    <div class="message"><%= Html.Encode(ViewData["Message"]) %></div>
       
    <% using (Html.BeginForm("GetCars","Home",FormMethod.Post )) { %>
        <div>
            <fieldset>
                <legend>Select Parameters</legend>
                
                <div class="editor-field">
                    <%= Html.EditorForModel() %>
                </div> 
                
                                
                <p>
                    <input type="submit" value="Get Cars" />
                </p>
            </fieldset>
        </div>
    <% } %>


</asp:Content>
